import router from '@system.router';

let app = getApp();

export default {
    data: {},
    onShow() {
        if (app.firststart) {
            router.push({
                uri: "pages/leadin/leadin"
            });
        } else {
            setTimeout(() => router.push({
                uri: "pages/main/main"
            }), 2000);
        }
    }
}
